package com.he.services;

import com.he.pojo.ServiceResult;

/**
 * @program: user-sync
 * @description: 获取access_token 和 jsTicket方法
 * @author: xin.he
 * @create: 2021-06-11 14:07
 **/

public interface DingTokenService {

    ServiceResult<String> getAccessToken();

    ServiceResult<String> getJsTicket();

    String getFromCache(String section, String field);

    void putToCache(String section, String field, String value);

}
